<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page pageEncoding="UTF-8" %>
<!doctype html>
<html lang="zh-cmn">
<head>
    <base href="${pageContext.request.contextPath}/">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <link rel="stylesheet" href="static/css/bootstrap.css">
</head>
<body>
    <div class="container" style="width: 60%; margin-top: 80px;border: 1px solid #CCCCCC">
        <form style="padding:80px" action="sys/login" method="post">
            <c:if test="${param.err==1}">
                <div class="form-group">
                    <span class="alert alert-warning">用户名或密码错误！</span>
                </div>
            </c:if>
            <div class="form-group">
                <label>用户名:</label>
                <div class="input-group">
                <span class="input-group-addon">
                    <i class="glyphicon glyphicon-user"></i>
                </span>
                    <input type="text" name="userCode" class="form-control input-lg">
                </div>
            </div>
            <div class="form-group">
                <label>密码:</label>
                <div class="input-group">
                <span class="input-group-addon">
                    <i class="glyphicon glyphicon-lock"></i>
                </span>
                    <input type="password" name="userPassword" class="form-control input-lg">
                </div>
            </div>
            <div class="form-group">
                <button class="btn btn-primary pull-right" type="submit">
                    <i class="glyphicon glyphicon-log-in"></i>登录
                </button>
            </div>
        </form>
    </div>
</body>
</html>